from django import forms
from .models import UserInform


class UserProfileForm(forms.ModelForm):
    class Meta:
        model = UserInform
        fields = ['nickname', 'bio', 'avatar',
                  'background_image', 'personality_tags']
        widgets = {
            'personality_tags': forms.CheckboxSelectMultiple(),
        }
